package com.yang.library.service.mapper;


import com.yang.library.entry.Book;
import com.yang.library.entry.User;

import java.util.Map;

public interface FileMapper {
    boolean saveBookData(Map<String, Book> bookMap);

    Map<String, Book> loadBookData();

    boolean saveUserData(Map<String, User> userMap);

    Map<String, User> loadUserData();
}
